﻿using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.ComponentModel;
using Water.Web;

namespace Water.Web.Controls
{
    [ToolboxData("<{0}:ComboBox runat=server></{0}:ComboBox>")]
    public partial class ComboBox : Water.Web.Controls.Autocomplete
    {
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            this.MinChars = 0;  
            this.TokenCssClass = "field_token_combobox";
            if (string.IsNullOrEmpty(this.Data))
                this.OnceForever = true;
        }
    }
}
